const db = require("./db");

// 规定admin集合内的数据类型
const addressSchema = new  db.Schema({
    "addressId":{type:String},// 地址id
    "userId":{type:String},// 地址id
    "userMsg":{type: Array} //地址数据：[{},{...},...]
    
}) 


// 将模块暴露出去
module.exports = db.model("userAddress", addressSchema);